{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}

{% block title %}Sign In{% endblock %}

{% block content %}
  {% for message in get_flashed_messages() %}
  <div class="alert alert-warning">
    <button type="button" class="close" data-dismiss="alert">&times;</button>
    {{ message }}
  </div>
  {% endfor %}

  <div class="page-header">
    <h1>Sign In</h1>
  </div>
  <div>
    {{ wtf.quick_form(form) }}
  </div>
  <p>
    New user?
    <a href="{{ url_for('auth.register') }}">
      Click here to register
    </a>
  </p>
{% endblock %}
